package com.hzj.service;


import com.hzj.mapper.SysUserMapper;
import com.hzj.pojo.SysUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysUserService {

    @Autowired
    SysUserMapper sysUserMapper;

    public List<SysUser> getSysUserList(){
        return sysUserMapper.getSysUserList();
    }

    public SysUser getSysUserByName(String name){
        return sysUserMapper.getSysUserByName(name);
    }


}
